<?php
$tel = $_REQUEST['tel'];
$pas1 = $_REQUEST['psw1'];
$pas2 = $_REQUEST['psw2'];
$con = mysqli_connect('localhost', 'root', '', 'friday');
mysqli_set_charset($con, 'utf8');
$sql = "insert into user (tel,pas) values ('{$tel }','{$pas1}')";
$res = mysqli_query($con, $sql);
	if($res){
		echo '注册成功';
	}
	mysqli_close($con);
?>